package org.mspring.platform.security.dao;

import org.mspring.platform.dao.hibernate.IGenericDao;
import org.mspring.platform.security.entity.User;

/**
 * @author Gao Youbo
 * @since 2014年1月4日
 */
public interface UserDao extends IGenericDao<User, Long> {
    public User findUser(String username, String password);

    public User findByUsername(String username);

    public User findByEmail(String email);

    public User findByAlias(String alias);
}
